package com.bkgy.modularbx.dictionary.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 数据字典删除DTO
 */
@Data
@Schema(description = "数据字典删除DTO")
public class DataDictionaryDeleteDto {
    /**
     * 序号
     */
    @Schema(description = "序号", required = true)
    @NotNull(message = "indocno不可以为空")
    @Positive(message = "序号必须为正整数")
    private Integer indocno;
}